package cn.stylefeng.guns.modular.system.service;

import cn.stylefeng.guns.modular.system.entity.AppUserInfo;
import cn.stylefeng.guns.modular.system.entity.CashOut;
import cn.stylefeng.guns.sys.modular.system.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface AppCashOutService extends IService<CashOut> {
    List<Map<Object, Object>> findList(String startTime, String endTime, Integer withdrawId, Integer status, List<String> userIds);

    CashOut findOne(Integer orderId);

    void turnDown(CashOut cashOut, AppUserInfo userInfo);

    void withdrawal(User user, CashOut cashOut);
}
